﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;

namespace Ks.Fs.Entity
{
    [DataContract]
    public class File
    {
        int id;
        [DataMember]
        public int Id
        {
            get { return id; }
            set { id = value; }
        }
        string filename;
        [DataMember]
        public string Filename
        {
            get { return filename; }
            set { filename = value; }
        }

        string path;
        [DataMember]
        public string Path
        {
            get { return path; }
            set { path = value; }
        }

        long size; //(Byte)
        [DataMember]
        public long Size
        {
            get { return size; }
            set { size = value; }
        }
        DateTime lastModified;
        [DataMember]
        public DateTime LastModified
        {
            get { return lastModified; }
            set { lastModified = value; }
        }
        string owner;
        [DataMember]
        public string Owner
        {
            get { return owner; }
            set { owner = value; }
        }

        int folderId;
        [DataMember]
        public int FolderId
        {
            get { return folderId; }
            set { folderId = value; }
        }       

    }
}